package cn.kgc.fcm.dsbank.service;


import cn.kgc.fcm.dsbank.dto.ResultDTO;
import cn.kgc.fcm.dsbank.entity.Employee;
import org.springframework.security.core.userdetails.UserDetailsService;

import java.util.List;

public interface EmpService extends UserDetailsService {

    ResultDTO<List<Employee>> selectEmpAll();

    ResultDTO<Employee> selectEmpById(Integer empId);

    ResultDTO addEmp(Employee emp,Integer[] roleIds);
}
